import Vue from 'vue'
import vuex from 'vuex'
Vue.use(vuex);

import dialog_store from '../components/dialog_store.js';

export default new vuex.Store({
    // modules: {
    //     dialog: dialog_store
    // }
    state: {
        show: false
    },
    mutations: {
        switch_dialog(state) {
            state.show = state.show ? false : true;
        }
    }
})

